﻿using System;
using System.Collections.Generic;
using System.Text;


namespace HAVNet.Intros.AST
{
    public class ASTConstInitializer : ASTNode
    {
        public string   ident       { get; set; }
        public ASTExpr  expression  { get; set; }

        public ASTConstInitializer()
        { }

        public ASTConstInitializer(string ident, ASTExpr expression)
        {
            this.ident = ident;
            this.expression = expression;
        }

        public override string ToString()
        {
            return ident + " = " + expression.ToString();
        }
    }
}
